package com.qf.smsplatform.webmaster.service.api;

import org.springframework.stereotype.Component;

import java.util.Map;
import java.util.Set;

/**
 * 缓存服务的熔断
 */
@Component
public class CacheServiceFallback implements CacheService {

    @Override
    public String get(String key) {
        return null;
    }

    @Override
    public Object getObject(String key) {
        return null;
    }

    @Override
    public boolean del(String... keys) {
        return false;
    }

    @Override
    public boolean hMSet(String key, Map map) {
        return false;
    }

    @Override
    public Map hMGet(String key) {
        return null;
    }

    @Override
    public void set(String key, String value, Long expireSecond) {

    }

    @Override
    public void saveCache(String key, String value) {

    }

    @Override
    public Long incr(String key, long delta) {
        return null;
    }

    @Override
    public boolean sadd(String key, String... value) {
        return false;
    }

    @Override
    public boolean saddObject(String key, Object[] set) {
        return false;
    }

    @Override
    public boolean zadd(String key, Long value, Long member) {
        return false;
    }

    @Override
    public Long hincr(String key, String field, long delta) {
        return null;
    }


}
